package about_attributes.demo4;

/**
 * @author yuisama
 * @date 2022/10/01 15:21
 **/
public class Main2 {
        private static class MyThread extends Thread{
            @Override
            public void run() {
                while (true){
                    System.out.println("不要瞌睡~");
                }
            }
        }

    public static void main(String[] args) {
        MyThread t = new MyThread();
        t.start();
    }

}

